<!DOCTYPE html>
<html lang="en">
  <head>
    <title>PolarBleApi Protocol Reference</title>
    <link rel="stylesheet" type="text/css" href="../css/jazzy.css" />
    <link rel="stylesheet" type="text/css" href="../css/highlight.css" />
    <meta charset='utf-8'>
    <script src="../js/jquery.min.js" defer></script>
    <script src="../js/jazzy.js" defer></script>
    
    <script src="../js/lunr.min.js" defer></script>
    <script src="../js/typeahead.jquery.js" defer></script>
    <script src="../js/jazzy.search.js" defer></script>
  </head>
  <body>
    <a name="//apple_ref/swift/Protocol/PolarBleApi" class="dashAnchor"></a>
    <a title="PolarBleApi Protocol Reference"></a>
    <header>
      <div class="content-wrapper">
        <p><a href="../index.html"> Docs</a> (100% documented)</p>
        <div class="header-right">
          <form role="search" action="../search.json">
            <input type="text" placeholder="Search documentation" data-typeahead>
          </form>
        </div>
      </div>
    </header>
    <div class="content-wrapper">
      <p id="breadcrumbs">
        <a href="../index.html">Index</a>
        <img id="carat" src="../img/carat.png" alt=""/>
        <a href="../Protocols.html">Protocols</a>
        <img id="carat" src="../img/carat.png" alt=""/>
        PolarBleSdk.PolarBleApi Protocol Reference
      </p>
    </div>
    <div class="content-wrapper">
      <nav class="sidebar">
        <ul class="nav-groups">
          <li class="nav-group-name">
            <a href="../Classes.html">Classes</a>
            <ul class="nav-group-tasks">
              <li class="nav-group-task">
                <a href="../Classes/BleHtsClient.html">BleHtsClient</a>
              </li>
              <li class="nav-group-task">
                <a href="../Classes/BleHtsClient/TemperatureMeasurement.html">– TemperatureMeasurement</a>
              </li>
              <li class="nav-group-task">
                <a href="../Classes/HealthThermometer.html">HealthThermometer</a>
              </li>
              <li class="nav-group-task">
                <a href="../Classes/PolarBleApiDefaultImpl.html">PolarBleApiDefaultImpl</a>
              </li>
              <li class="nav-group-task">
                <a href="../Classes/PolarSleepData.html">PolarSleepData</a>
              </li>
              <li class="nav-group-task">
                <a href="../Classes/PolarSleepData.html#/s:11PolarBleSdk0A9SleepDataC0aD14AnalysisResultV">– PolarSleepAnalysisResult</a>
              </li>
            </ul>
          </li>
          <li class="nav-group-name">
            <a href="../Enums.html">Enumerations</a>
            <ul class="nav-group-tasks">
              <li class="nav-group-task">
                <a href="../Enums/OhrDataType.html">OhrDataType</a>
              </li>
              <li class="nav-group-task">
                <a href="../Enums/PolarBleSdkFeature.html">PolarBleSdkFeature</a>
              </li>
              <li class="nav-group-task">
                <a href="../Enums/PolarDeviceDataType.html">PolarDeviceDataType</a>
              </li>
              <li class="nav-group-task">
                <a href="../Enums/PolarErrors.html">PolarErrors</a>
              </li>
              <li class="nav-group-task">
                <a href="../Enums/PolarOfflineRecordingData.html">PolarOfflineRecordingData</a>
              </li>
              <li class="nav-group-task">
                <a href="../Enums/PolarOfflineRecordingTriggerMode.html">PolarOfflineRecordingTriggerMode</a>
              </li>
              <li class="nav-group-task">
                <a href="../Enums/PpgDataType.html">PpgDataType</a>
              </li>
              <li class="nav-group-task">
                <a href="../Enums/RecordingInterval.html">RecordingInterval</a>
              </li>
              <li class="nav-group-task">
                <a href="../Enums/SampleType.html">SampleType</a>
              </li>
            </ul>
          </li>
          <li class="nav-group-name">
            <a href="../Extensions.html">Extensions</a>
            <ul class="nav-group-tasks">
              <li class="nav-group-task">
                <a href="../Extensions.html#/c:@M@PolarBleSdk@objc(cs)PolarBleApiImpl">PolarBleApiImpl</a>
              </li>
              <li class="nav-group-task">
                <a href="../Extensions/PrimitiveSequence.html">PrimitiveSequence</a>
              </li>
            </ul>
          </li>
          <li class="nav-group-name">
            <a href="../Protocols.html">Protocols</a>
            <ul class="nav-group-tasks">
              <li class="nav-group-task">
                <a href="../Protocols/PolarActivityApi.html">PolarActivityApi</a>
              </li>
              <li class="nav-group-task">
                <a href="../Protocols/PolarBleApi.html">PolarBleApi</a>
              </li>
              <li class="nav-group-task">
                <a href="../Protocols/PolarBleApiDeviceFeaturesObserver.html">PolarBleApiDeviceFeaturesObserver</a>
              </li>
              <li class="nav-group-task">
                <a href="../Protocols/PolarBleApiDeviceHrObserver.html">PolarBleApiDeviceHrObserver</a>
              </li>
              <li class="nav-group-task">
                <a href="../Protocols/PolarBleApiDeviceInfoObserver.html">PolarBleApiDeviceInfoObserver</a>
              </li>
              <li class="nav-group-task">
                <a href="../Protocols/PolarBleApiLogger.html">PolarBleApiLogger</a>
              </li>
              <li class="nav-group-task">
                <a href="../Protocols/PolarBleApiObserver.html">PolarBleApiObserver</a>
              </li>
              <li class="nav-group-task">
                <a href="../Protocols/PolarBleApiPowerStateObserver.html">PolarBleApiPowerStateObserver</a>
              </li>
              <li class="nav-group-task">
                <a href="../Protocols/PolarBleApiSdkModeFeatureObserver.html">PolarBleApiSdkModeFeatureObserver</a>
              </li>
              <li class="nav-group-task">
                <a href="../Protocols/PolarH10OfflineExerciseApi.html">PolarH10OfflineExerciseApi</a>
              </li>
              <li class="nav-group-task">
                <a href="../Protocols/PolarOfflineRecordingApi.html">PolarOfflineRecordingApi</a>
              </li>
              <li class="nav-group-task">
                <a href="../Protocols/PolarOnlineStreamingApi.html">PolarOnlineStreamingApi</a>
              </li>
              <li class="nav-group-task">
                <a href="../Protocols/PolarSdkModeApi.html">PolarSdkModeApi</a>
              </li>
              <li class="nav-group-task">
                <a href="../Protocols/PolarSleepApi.html">PolarSleepApi</a>
              </li>
            </ul>
          </li>
          <li class="nav-group-name">
            <a href="../Structs.html">Structures</a>
            <ul class="nav-group-tasks">
              <li class="nav-group-task">
                <a href="../Structs/LedConfig.html">LedConfig</a>
              </li>
              <li class="nav-group-task">
                <a href="../Structs/PolarActiveTime.html">PolarActiveTime</a>
              </li>
              <li class="nav-group-task">
                <a href="../Structs/PolarActiveTimeData.html">PolarActiveTimeData</a>
              </li>
              <li class="nav-group-task">
                <a href="../Structs/PolarDiskSpaceData.html">PolarDiskSpaceData</a>
              </li>
              <li class="nav-group-task">
                <a href="../Structs/PolarDistanceData.html">PolarDistanceData</a>
              </li>
              <li class="nav-group-task">
                <a href="../Structs/PolarFirstTimeUseConfig.html">PolarFirstTimeUseConfig</a>
              </li>
              <li class="nav-group-task">
                <a href="../Structs/PolarFirstTimeUseConfig/Gender.html">– Gender</a>
              </li>
              <li class="nav-group-task">
                <a href="../Structs/PolarFirstTimeUseConfig/TrainingBackground.html">– TrainingBackground</a>
              </li>
              <li class="nav-group-task">
                <a href="../Structs/PolarOfflineRecordingEntry.html">PolarOfflineRecordingEntry</a>
              </li>
              <li class="nav-group-task">
                <a href="../Structs/PolarOfflineRecordingTrigger.html">PolarOfflineRecordingTrigger</a>
              </li>
              <li class="nav-group-task">
                <a href="../Structs/PolarRecordingSecret.html">PolarRecordingSecret</a>
              </li>
              <li class="nav-group-task">
                <a href="../Structs/PolarSensorSetting.html">PolarSensorSetting</a>
              </li>
              <li class="nav-group-task">
                <a href="../Structs/PolarSensorSetting/SettingType.html">– SettingType</a>
              </li>
              <li class="nav-group-task">
                <a href="../Structs/PolarStepsData.html">PolarStepsData</a>
              </li>
              <li class="nav-group-task">
                <a href="../Structs/SDLogConfig.html">SDLogConfig</a>
              </li>
            </ul>
          </li>
          <li class="nav-group-name">
            <a href="../Typealiases.html">Type Aliases</a>
            <ul class="nav-group-tasks">
              <li class="nav-group-task">
                <a href="../Typealiases.html#/s:11PolarBleSdk0A7AccDataa">PolarAccData</a>
              </li>
              <li class="nav-group-task">
                <a href="../Typealiases.html#/s:11PolarBleSdk0A10DeviceInfoa">PolarDeviceInfo</a>
              </li>
              <li class="nav-group-task">
                <a href="../Typealiases.html#/s:11PolarBleSdk0A7EcgDataa">PolarEcgData</a>
              </li>
              <li class="nav-group-task">
                <a href="../Typealiases.html#/s:11PolarBleSdk0A12ExerciseDataa">PolarExerciseData</a>
              </li>
              <li class="nav-group-task">
                <a href="../Typealiases.html#/s:11PolarBleSdk0A13ExerciseEntrya">PolarExerciseEntry</a>
              </li>
              <li class="nav-group-task">
                <a href="../Typealiases.html#/s:11PolarBleSdk0A8GyroDataa">PolarGyroData</a>
              </li>
              <li class="nav-group-task">
                <a href="../Typealiases.html#/s:11PolarBleSdk0A15HrBroadcastDataa">PolarHrBroadcastData</a>
              </li>
              <li class="nav-group-task">
                <a href="../Typealiases.html#/s:11PolarBleSdk0A6HrDataa">PolarHrData</a>
              </li>
              <li class="nav-group-task">
                <a href="../Typealiases.html#/s:11PolarBleSdk0A16MagnetometerDataa">PolarMagnetometerData</a>
              </li>
              <li class="nav-group-task">
                <a href="../Typealiases.html#/s:11PolarBleSdk0A7OhrDataa">PolarOhrData</a>
              </li>
              <li class="nav-group-task">
                <a href="../Typealiases.html#/s:11PolarBleSdk0A7PpgDataa">PolarPpgData</a>
              </li>
              <li class="nav-group-task">
                <a href="../Typealiases.html#/s:11PolarBleSdk0A7PpiDataa">PolarPpiData</a>
              </li>
              <li class="nav-group-task">
                <a href="../Typealiases.html#/s:11PolarBleSdk0A15RecordingStatusa">PolarRecordingStatus</a>
              </li>
              <li class="nav-group-task">
                <a href="../Typealiases.html#/s:11PolarBleSdk0A15TemperatureDataa">PolarTemperatureData</a>
              </li>
            </ul>
          </li>
        </ul>
      </nav>
      <article class="main-content">
        <section>
          <section class="section">
            <h1>PolarBleApi</h1>
              <div class="declaration">
                <div class="language">
                  
                  <pre class="highlight swift"><code><span class="kd">public</span> <span class="kd">protocol</span> <span class="kt">PolarBleApi</span> <span class="p">:</span> <span class="kt"><a href="../Protocols/PolarActivityApi.html">PolarActivityApi</a></span><span class="p">,</span> <span class="kt"><a href="../Protocols/PolarH10OfflineExerciseApi.html">PolarH10OfflineExerciseApi</a></span><span class="p">,</span> <span class="kt"><a href="../Protocols/PolarOfflineRecordingApi.html">PolarOfflineRecordingApi</a></span><span class="p">,</span> <span class="kt"><a href="../Protocols/PolarOnlineStreamingApi.html">PolarOnlineStreamingApi</a></span><span class="p">,</span> <span class="kt"><a href="../Protocols/PolarSdkModeApi.html">PolarSdkModeApi</a></span><span class="p">,</span> <span class="kt"><a href="../Protocols/PolarSleepApi.html">PolarSleepApi</a></span></code></pre>

                </div>
              </div>
            <p>API.</p>

          </section>
          <section class="section task-group-section">
            <div class="task-group">
              <ul>
                <li class="item">
                  <div>
                    <code>
                    <a name="/s:11PolarBleSdk0aB3ApiP7cleanupyyF"></a>
                    <a name="//apple_ref/swift/Method/cleanup()" class="dashAnchor"></a>
                    <a class="token" href="#/s:11PolarBleSdk0aB3ApiP7cleanupyyF">cleanup()</a>
                    </code>
                  </div>
                  <div class="height-container">
                    <div class="pointer-container"></div>
                    <section class="section">
                      <div class="pointer"></div>
                      <div class="abstract">
                        <p>remove all known devices, which are not in use</p>

                      </div>
                      <div class="declaration">
                        <h4>Declaration</h4>
                        <div class="language">
                          <p class="aside-title">Swift</p>
                          <pre class="highlight swift"><code><span class="kd">func</span> <span class="nf">cleanup</span><span class="p">()</span></code></pre>

                        </div>
                      </div>
                    </section>
                  </div>
                </li>
                <li class="item">
                  <div>
                    <code>
                    <a name="/s:11PolarBleSdk0aB3ApiP11polarFilteryySbF"></a>
                    <a name="//apple_ref/swift/Method/polarFilter(_:)" class="dashAnchor"></a>
                    <a class="token" href="#/s:11PolarBleSdk0aB3ApiP11polarFilteryySbF">polarFilter(_:<wbr>)</a>
                    </code>
                  </div>
                  <div class="height-container">
                    <div class="pointer-container"></div>
                    <section class="section">
                      <div class="pointer"></div>
                      <div class="abstract">
                        <p>Enable or disable polar filter.</p>

                      </div>
                      <div class="declaration">
                        <h4>Declaration</h4>
                        <div class="language">
                          <p class="aside-title">Swift</p>
                          <pre class="highlight swift"><code><span class="kd">func</span> <span class="nf">polarFilter</span><span class="p">(</span><span class="n">_</span> <span class="nv">enable</span><span class="p">:</span> <span class="kt">Bool</span><span class="p">)</span></code></pre>

                        </div>
                      </div>
                      <div>
                        <h4>Parameters</h4>
                        <table class="graybox">
                          <tbody>
                            <tr>
                              <td>
                                <code>
                                <em>enable</em>
                                </code>
                              </td>
                              <td>
                                <div>
                                  <p>false disable polar filter</p>
                                </div>
                              </td>
                            </tr>
                          </tbody>
                        </table>
                      </div>
                    </section>
                  </div>
                </li>
                <li class="item">
                  <div>
                    <code>
                    <a name="/s:11PolarBleSdk0aB3ApiP24startAutoConnectToDevice_7service05polarI4Type7RxSwift17PrimitiveSequenceVyAG16CompletableTraitOs5NeverOGSi_So6CBUUIDCSgSSSgtF"></a>
                    <a name="//apple_ref/swift/Method/startAutoConnectToDevice(_:service:polarDeviceType:)" class="dashAnchor"></a>
                    <a class="token" href="#/s:11PolarBleSdk0aB3ApiP24startAutoConnectToDevice_7service05polarI4Type7RxSwift17PrimitiveSequenceVyAG16CompletableTraitOs5NeverOGSi_So6CBUUIDCSgSSSgtF">startAutoConnectToDevice(_:<wbr>service:<wbr>polarDeviceType:<wbr>)</a>
                    </code>
                  </div>
                  <div class="height-container">
                    <div class="pointer-container"></div>
                    <section class="section">
                      <div class="pointer"></div>
                      <div class="abstract">
                        <p>Start connecting to a nearby device. <code>PolarBleApiObservers</code> polarDeviceConnected is
invoked when a connection is established.</p>

                      </div>
                      <div class="declaration">
                        <h4>Declaration</h4>
                        <div class="language">
                          <p class="aside-title">Swift</p>
                          <pre class="highlight swift"><code><span class="kd">func</span> <span class="nf">startAutoConnectToDevice</span><span class="p">(</span><span class="n">_</span> <span class="nv">rssi</span><span class="p">:</span> <span class="kt">Int</span><span class="p">,</span> <span class="nv">service</span><span class="p">:</span> <span class="kt">CBUUID</span><span class="p">?,</span> <span class="nv">polarDeviceType</span><span class="p">:</span> <span class="kt">String</span><span class="p">?)</span> <span class="o">-&gt;</span> <span class="kt">Completable</span></code></pre>

                        </div>
                      </div>
                      <div>
                        <h4>Parameters</h4>
                        <table class="graybox">
                          <tbody>
                            <tr>
                              <td>
                                <code>
                                <em>rssi</em>
                                </code>
                              </td>
                              <td>
                                <div>
                                  <p>(Received Signal Strength Indicator) value is typically between -40 to -55 dBm.</p>
                                </div>
                              </td>
                            </tr>
                            <tr>
                              <td>
                                <code>
                                <em>service</em>
                                </code>
                              </td>
                              <td>
                                <div>
                                  <p>optional service to contain in device advertisement prior to connection attempt</p>
                                </div>
                              </td>
                            </tr>
                            <tr>
                              <td>
                                <code>
                                <em>polarDeviceType</em>
                                </code>
                              </td>
                              <td>
                                <div>
                                  <p>like H10, OH1 etc&hellip; or nil for any polar device</p>
                                </div>
                              </td>
                            </tr>
                          </tbody>
                        </table>
                      </div>
                      <div>
                        <h4>Return Value</h4>
                        <p>Completable. Complete called when scan for nearby device has ended and connection attempt is started and deviceConnecting callback will be invoked.</p>
                      </div>
                    </section>
                  </div>
                </li>
                <li class="item">
                  <div>
                    <code>
                    <a name="/s:11PolarBleSdk0aB3ApiP15connectToDeviceyySSKF"></a>
                    <a name="//apple_ref/swift/Method/connectToDevice(_:)" class="dashAnchor"></a>
                    <a class="token" href="#/s:11PolarBleSdk0aB3ApiP15connectToDeviceyySSKF">connectToDevice(_:<wbr>)</a>
                    </code>
                  </div>
                  <div class="height-container">
                    <div class="pointer-container"></div>
                    <section class="section">
                      <div class="pointer"></div>
                      <div class="abstract">
                        <p>Request a connection to a Polar device. Invokes <code>PolarBleApiObservers</code> polarDeviceConnected.</p>
<div class="aside aside-throws">
    <p class="aside-title">Throws</p>
    InvalidArgument if identifier is invalid polar device id or invalid uuid

</div>

                      </div>
                      <div class="declaration">
                        <h4>Declaration</h4>
                        <div class="language">
                          <p class="aside-title">Swift</p>
                          <pre class="highlight swift"><code><span class="kd">func</span> <span class="nf">connectToDevice</span><span class="p">(</span><span class="n">_</span> <span class="nv">identifier</span><span class="p">:</span> <span class="kt">String</span><span class="p">)</span> <span class="k">throws</span></code></pre>

                        </div>
                      </div>
                      <div>
                        <h4>Parameters</h4>
                        <table class="graybox">
                          <tbody>
                            <tr>
                              <td>
                                <code>
                                <em>identifier</em>
                                </code>
                              </td>
                              <td>
                                <div>
                                  <p>Polar device id printed on the sensor/device or UUID.</p>
                                </div>
                              </td>
                            </tr>
                          </tbody>
                        </table>
                      </div>
                    </section>
                  </div>
                </li>
                <li class="item">
                  <div>
                    <code>
                    <a name="/s:11PolarBleSdk0aB3ApiP20disconnectFromDeviceyySSKF"></a>
                    <a name="//apple_ref/swift/Method/disconnectFromDevice(_:)" class="dashAnchor"></a>
                    <a class="token" href="#/s:11PolarBleSdk0aB3ApiP20disconnectFromDeviceyySSKF">disconnectFromDevice(_:<wbr>)</a>
                    </code>
                  </div>
                  <div class="height-container">
                    <div class="pointer-container"></div>
                    <section class="section">
                      <div class="pointer"></div>
                      <div class="abstract">
                        <p>Disconnect from the current Polar device.</p>
<div class="aside aside-throws">
    <p class="aside-title">Throws</p>
    InvalidArgument if identifier is invalid polar device id or invalid uuid

</div>

                      </div>
                      <div class="declaration">
                        <h4>Declaration</h4>
                        <div class="language">
                          <p class="aside-title">Swift</p>
                          <pre class="highlight swift"><code><span class="kd">func</span> <span class="nf">disconnectFromDevice</span><span class="p">(</span><span class="n">_</span> <span class="nv">identifier</span><span class="p">:</span> <span class="kt">String</span><span class="p">)</span> <span class="k">throws</span></code></pre>

                        </div>
                      </div>
                      <div>
                        <h4>Parameters</h4>
                        <table class="graybox">
                          <tbody>
                            <tr>
                              <td>
                                <code>
                                <em>identifier</em>
                                </code>
                              </td>
                              <td>
                                <div>
                                  <p>Polar device id</p>
                                </div>
                              </td>
                            </tr>
                          </tbody>
                        </table>
                      </div>
                    </section>
                  </div>
                </li>
                <li class="item">
                  <div>
                    <code>
                    <a name="/s:11PolarBleSdk0aB3ApiP15searchForDevice7RxSwift10ObservableCySS8deviceId_10Foundation4UUIDV7addressSi4rssiSS4nameSb11connectabletGyF"></a>
                    <a name="//apple_ref/swift/Method/searchForDevice()" class="dashAnchor"></a>
                    <a class="token" href="#/s:11PolarBleSdk0aB3ApiP15searchForDevice7RxSwift10ObservableCySS8deviceId_10Foundation4UUIDV7addressSi4rssiSS4nameSb11connectabletGyF">searchForDevice()</a>
                    </code>
                  </div>
                  <div class="height-container">
                    <div class="pointer-container"></div>
                    <section class="section">
                      <div class="pointer"></div>
                      <div class="abstract">
                        <p>Start searching for Polar device(s)</p>

                      </div>
                      <div class="declaration">
                        <h4>Declaration</h4>
                        <div class="language">
                          <p class="aside-title">Swift</p>
                          <pre class="highlight swift"><code><span class="kd">func</span> <span class="nf">searchForDevice</span><span class="p">()</span> <span class="o">-&gt;</span> <span class="kt">Observable</span><span class="o">&lt;</span><span class="kt"><a href="../Typealiases.html#/s:11PolarBleSdk0A10DeviceInfoa">PolarDeviceInfo</a></span><span class="o">&gt;</span></code></pre>

                        </div>
                      </div>
                      <div>
                        <h4>Parameters</h4>
                        <table class="graybox">
                          <tbody>
                            <tr>
                              <td>
                                <code>
                                <em>onNext</em>
                                </code>
                              </td>
                              <td>
                                <div>
                                  <p>for every new polar device found</p>
                                </div>
                              </td>
                            </tr>
                          </tbody>
                        </table>
                      </div>
                      <div>
                        <h4>Return Value</h4>
                        <p>Observable stream

<ul>
<li>onNext: for every new polar device found</li>
</ul></p>
                      </div>
                    </section>
                  </div>
                </li>
                <li class="item">
                  <div>
                    <code>
                    <a name="/s:11PolarBleSdk0aB3ApiP014startListenForA12HrBroadcastsy7RxSwift10ObservableCySS8deviceId_10Foundation4UUIDV7addressSi4rssiSS4nameSb11connectablet0M4Info_s5UInt8V2hrSb13batteryStatustGShySSGSgF"></a>
                    <a name="//apple_ref/swift/Method/startListenForPolarHrBroadcasts(_:)" class="dashAnchor"></a>
                    <a class="token" href="#/s:11PolarBleSdk0aB3ApiP014startListenForA12HrBroadcastsy7RxSwift10ObservableCySS8deviceId_10Foundation4UUIDV7addressSi4rssiSS4nameSb11connectablet0M4Info_s5UInt8V2hrSb13batteryStatustGShySSGSgF">startListenForPolarHrBroadcasts(_:<wbr>)</a>
                    </code>
                  </div>
                  <div class="height-container">
                    <div class="pointer-container"></div>
                    <section class="section">
                      <div class="pointer"></div>
                      <div class="abstract">
                        <p>Start listening the heart rate from Polar devices when subscribed.
This observable listens BLE broadcast and parses heart rate from BLE broadcast. The
BLE device don&rsquo;t need to be connected when using this function, the heart rate is parsed
from the BLE advertisement</p>

                      </div>
                      <div class="declaration">
                        <h4>Declaration</h4>
                        <div class="language">
                          <p class="aside-title">Swift</p>
                          <pre class="highlight swift"><code><span class="kd">func</span> <span class="nf">startListenForPolarHrBroadcasts</span><span class="p">(</span><span class="n">_</span> <span class="nv">identifiers</span><span class="p">:</span> <span class="kt">Set</span><span class="o">&lt;</span><span class="kt">String</span><span class="o">&gt;</span><span class="p">?)</span> <span class="o">-&gt;</span> <span class="kt">Observable</span><span class="o">&lt;</span><span class="kt"><a href="../Typealiases.html#/s:11PolarBleSdk0A15HrBroadcastDataa">PolarHrBroadcastData</a></span><span class="o">&gt;</span></code></pre>

                        </div>
                      </div>
                      <div>
                        <h4>Parameters</h4>
                        <table class="graybox">
                          <tbody>
                            <tr>
                              <td>
                                <code>
                                <em>identifiers</em>
                                </code>
                              </td>
                              <td>
                                <div>
                                  <p>set of Polar device ids to filter or null for a any Polar device</p>
                                </div>
                              </td>
                            </tr>
                          </tbody>
                        </table>
                      </div>
                      <div>
                        <h4>Return Value</h4>
                        <p>Observable stream</p>
                      </div>
                    </section>
                  </div>
                </li>
                <li class="item">
                  <div>
                    <code>
                    <a name="/s:11PolarBleSdk0aB3ApiP14isFeatureReady_7featureSbSS_AA0abcF0OtF"></a>
                    <a name="//apple_ref/swift/Method/isFeatureReady(_:feature:)" class="dashAnchor"></a>
                    <a class="token" href="#/s:11PolarBleSdk0aB3ApiP14isFeatureReady_7featureSbSS_AA0abcF0OtF">isFeatureReady(_:<wbr>feature:<wbr>)</a>
                    </code>
                  </div>
                  <div class="height-container">
                    <div class="pointer-container"></div>
                    <section class="section">
                      <div class="pointer"></div>
                      <div class="abstract">
                        <p>Check if the feature is ready.</p>

                      </div>
                      <div class="declaration">
                        <h4>Declaration</h4>
                        <div class="language">
                          <p class="aside-title">Swift</p>
                          <pre class="highlight swift"><code><span class="kd">func</span> <span class="nf">isFeatureReady</span><span class="p">(</span><span class="n">_</span> <span class="nv">identifier</span><span class="p">:</span> <span class="kt">String</span><span class="p">,</span> <span class="nv">feature</span><span class="p">:</span> <span class="kt"><a href="../Enums/PolarBleSdkFeature.html">PolarBleSdkFeature</a></span><span class="p">)</span> <span class="o">-&gt;</span> <span class="kt">Bool</span></code></pre>

                        </div>
                      </div>
                      <div>
                        <h4>Parameters</h4>
                        <table class="graybox">
                          <tbody>
                            <tr>
                              <td>
                                <code>
                                <em>identifier</em>
                                </code>
                              </td>
                              <td>
                                <div>
                                  <p>the identifier of the device to check.</p>
                                </div>
                              </td>
                            </tr>
                            <tr>
                              <td>
                                <code>
                                <em>feature</em>
                                </code>
                              </td>
                              <td>
                                <div>
                                  <p>the feature to check for readiness.</p>
                                </div>
                              </td>
                            </tr>
                          </tbody>
                        </table>
                      </div>
                      <div>
                        <h4>Return Value</h4>
                        <p>a boolean indicating whether a specific feature is ready for use on a given device.</p>
                      </div>
                    </section>
                  </div>
                </li>
                <li class="item">
                  <div>
                    <code>
                    <a name="/s:11PolarBleSdk0aB3ApiP12setLocalTime_4time4zone7RxSwift17PrimitiveSequenceVyAG16CompletableTraitOs5NeverOGSS_10Foundation4DateVAO0G4ZoneVtF"></a>
                    <a name="//apple_ref/swift/Method/setLocalTime(_:time:zone:)" class="dashAnchor"></a>
                    <a class="token" href="#/s:11PolarBleSdk0aB3ApiP12setLocalTime_4time4zone7RxSwift17PrimitiveSequenceVyAG16CompletableTraitOs5NeverOGSS_10Foundation4DateVAO0G4ZoneVtF">setLocalTime(_:<wbr>time:<wbr>zone:<wbr>)</a>
                    </code>
                  </div>
                  <div class="height-container">
                    <div class="pointer-container"></div>
                    <section class="section">
                      <div class="pointer"></div>
                      <div class="abstract">
                        <p>Set local time to device.</p>

<p>Requires feature <code><a href="../Enums/PolarBleSdkFeature.html#/s:11PolarBleSdk0abC7FeatureO31feature_polar_device_time_setupyA2CmF">PolarBleSdkFeature.feature_polar_device_time_setup</a></code>.</p>

                      </div>
                      <div class="declaration">
                        <h4>Declaration</h4>
                        <div class="language">
                          <p class="aside-title">Swift</p>
                          <pre class="highlight swift"><code><span class="kd">func</span> <span class="nf">setLocalTime</span><span class="p">(</span><span class="n">_</span> <span class="nv">identifier</span><span class="p">:</span> <span class="kt">String</span><span class="p">,</span> <span class="nv">time</span><span class="p">:</span> <span class="kt">Date</span><span class="p">,</span> <span class="nv">zone</span><span class="p">:</span> <span class="kt">TimeZone</span><span class="p">)</span> <span class="o">-&gt;</span> <span class="kt">Completable</span></code></pre>

                        </div>
                      </div>
                      <div>
                        <h4>Parameters</h4>
                        <table class="graybox">
                          <tbody>
                            <tr>
                              <td>
                                <code>
                                <em>identifier</em>
                                </code>
                              </td>
                              <td>
                                <div>
                                  <p>polar device id or UUID</p>
                                </div>
                              </td>
                            </tr>
                            <tr>
                              <td>
                                <code>
                                <em>time</em>
                                </code>
                              </td>
                              <td>
                                <div>
                                  <p>time to set</p>
                                </div>
                              </td>
                            </tr>
                            <tr>
                              <td>
                                <code>
                                <em>zone</em>
                                </code>
                              </td>
                              <td>
                                <div>
                                  <p>time zone to set</p>
                                </div>
                              </td>
                            </tr>
                          </tbody>
                        </table>
                      </div>
                      <div>
                        <h4>Return Value</h4>
                        <p>Completable stream

<ul>
<li>success: when time has been set to device</li>
<li>onError: see <code><a href="../Enums/PolarErrors.html">PolarErrors</a></code> for possible errors invoked</li>
</ul></p>
                      </div>
                    </section>
                  </div>
                </li>
                <li class="item">
                  <div>
                    <code>
                    <a name="/s:11PolarBleSdk0aB3ApiP12getLocalTimey7RxSwift17PrimitiveSequenceVyAE11SingleTraitO10Foundation4DateVGSSF"></a>
                    <a name="//apple_ref/swift/Method/getLocalTime(_:)" class="dashAnchor"></a>
                    <a class="token" href="#/s:11PolarBleSdk0aB3ApiP12getLocalTimey7RxSwift17PrimitiveSequenceVyAE11SingleTraitO10Foundation4DateVGSSF">getLocalTime(_:<wbr>)</a>
                    </code>
                  </div>
                  <div class="height-container">
                    <div class="pointer-container"></div>
                    <section class="section">
                      <div class="pointer"></div>
                      <div class="abstract">
                        <p>Get current time in device. Note, the H10 is not supporting time read.</p>

<p>Requires feature <code><a href="../Enums/PolarBleSdkFeature.html#/s:11PolarBleSdk0abC7FeatureO31feature_polar_device_time_setupyA2CmF">PolarBleSdkFeature.feature_polar_device_time_setup</a></code></p>

                      </div>
                      <div class="declaration">
                        <h4>Declaration</h4>
                        <div class="language">
                          <p class="aside-title">Swift</p>
                          <pre class="highlight swift"><code><span class="kd">func</span> <span class="nf">getLocalTime</span><span class="p">(</span><span class="n">_</span> <span class="nv">identifier</span><span class="p">:</span> <span class="kt">String</span><span class="p">)</span> <span class="o">-&gt;</span> <span class="kt">Single</span><span class="o">&lt;</span><span class="kt">Date</span><span class="o">&gt;</span></code></pre>

                        </div>
                      </div>
                      <div>
                        <h4>Parameters</h4>
                        <table class="graybox">
                          <tbody>
                            <tr>
                              <td>
                                <code>
                                <em>identifier</em>
                                </code>
                              </td>
                              <td>
                                <div>
                                  <p>polar device id or UUID</p>
                                </div>
                              </td>
                            </tr>
                            <tr>
                              <td>
                                <code>
                                <em>time</em>
                                </code>
                              </td>
                              <td>
                                <div>
                                  <p>time to set</p>
                                </div>
                              </td>
                            </tr>
                            <tr>
                              <td>
                                <code>
                                <em>zone</em>
                                </code>
                              </td>
                              <td>
                                <div>
                                  <p>time zone to set</p>
                                </div>
                              </td>
                            </tr>
                          </tbody>
                        </table>
                      </div>
                      <div>
                        <h4>Return Value</h4>
                        <p>Single stream

<ul>
<li>success: once after settings received from device</li>
<li>onError: see <code><a href="../Enums/PolarErrors.html">PolarErrors</a></code> for possible errors invoked</li>
</ul></p>
                      </div>
                    </section>
                  </div>
                </li>
                <li class="item">
                  <div>
                    <code>
                    <a name="/s:11PolarBleSdk0aB3ApiP12getDiskSpacey7RxSwift17PrimitiveSequenceVyAE11SingleTraitOAA0afG4DataVGSSF"></a>
                    <a name="//apple_ref/swift/Method/getDiskSpace(_:)" class="dashAnchor"></a>
                    <a class="token" href="#/s:11PolarBleSdk0aB3ApiP12getDiskSpacey7RxSwift17PrimitiveSequenceVyAE11SingleTraitOAA0afG4DataVGSSF">getDiskSpace(_:<wbr>)</a>
                    </code>
                  </div>
                  <div class="height-container">
                    <div class="pointer-container"></div>
                    <section class="section">
                      <div class="pointer"></div>
                      <div class="abstract">
                        <p>Get <code><a href="../Structs/PolarDiskSpaceData.html">PolarDiskSpaceData</a></code> from device.</p>

                      </div>
                      <div class="declaration">
                        <h4>Declaration</h4>
                        <div class="language">
                          <p class="aside-title">Swift</p>
                          <pre class="highlight swift"><code><span class="kd">func</span> <span class="nf">getDiskSpace</span><span class="p">(</span><span class="n">_</span> <span class="nv">identifier</span><span class="p">:</span> <span class="kt">String</span><span class="p">)</span> <span class="o">-&gt;</span> <span class="kt">Single</span><span class="o">&lt;</span><span class="kt"><a href="../Structs/PolarDiskSpaceData.html">PolarDiskSpaceData</a></span><span class="o">&gt;</span></code></pre>

                        </div>
                      </div>
                      <div>
                        <h4>Parameters</h4>
                        <table class="graybox">
                          <tbody>
                            <tr>
                              <td>
                                <code>
                                <em>identifier</em>
                                </code>
                              </td>
                              <td>
                                <div>
                                  <p>polar device id or UUID</p>
                                </div>
                              </td>
                            </tr>
                          </tbody>
                        </table>
                      </div>
                      <div>
                        <h4>Return Value</h4>
                        <p>Single stream

<ul>
<li>success: once after disk space received from device</li>
<li>onError: see <code><a href="../Enums/PolarErrors.html">PolarErrors</a></code> for possible errors invoked</li>
</ul></p>
                      </div>
                    </section>
                  </div>
                </li>
                <li class="item">
                  <div>
                    <code>
                    <a name="/s:11PolarBleSdk0aB3ApiP12setLedConfig_03ledG07RxSwift17PrimitiveSequenceVyAF16CompletableTraitOs5NeverOGSS_AA0fG0VtF"></a>
                    <a name="//apple_ref/swift/Method/setLedConfig(_:ledConfig:)" class="dashAnchor"></a>
                    <a class="token" href="#/s:11PolarBleSdk0aB3ApiP12setLedConfig_03ledG07RxSwift17PrimitiveSequenceVyAF16CompletableTraitOs5NeverOGSS_AA0fG0VtF">setLedConfig(_:<wbr>ledConfig:<wbr>)</a>
                    </code>
                  </div>
                  <div class="height-container">
                    <div class="pointer-container"></div>
                    <section class="section">
                      <div class="pointer"></div>
                      <div class="abstract">
                        <p>Set [LedConfig] to enable or disable blinking LEDs (Verity Sense 2.2.1+).</p>

                      </div>
                      <div class="declaration">
                        <h4>Declaration</h4>
                        <div class="language">
                          <p class="aside-title">Swift</p>
                          <pre class="highlight swift"><code><span class="kd">func</span> <span class="nf">setLedConfig</span><span class="p">(</span><span class="n">_</span> <span class="nv">identifier</span><span class="p">:</span> <span class="kt">String</span><span class="p">,</span> <span class="nv">ledConfig</span><span class="p">:</span> <span class="kt"><a href="../Structs/LedConfig.html">LedConfig</a></span><span class="p">)</span> <span class="o">-&gt;</span> <span class="kt">Completable</span></code></pre>

                        </div>
                      </div>
                      <div>
                        <h4>Parameters</h4>
                        <table class="graybox">
                          <tbody>
                            <tr>
                              <td>
                                <code>
                                <em>identifier</em>
                                </code>
                              </td>
                              <td>
                                <div>
                                  <p>polar device id or UUID</p>
                                </div>
                              </td>
                            </tr>
                            <tr>
                              <td>
                                <code>
                                <em>ledConfig</em>
                                </code>
                              </td>
                              <td>
                                <div>
                                  <p>to enable or disable LEDs blinking</p>
                                </div>
                              </td>
                            </tr>
                          </tbody>
                        </table>
                      </div>
                      <div>
                        <h4>Return Value</h4>
                        <p>Completable stream

<ul>
<li>success: when enable or disable sent to device</li>
<li>onError: see <code><a href="../Enums/PolarErrors.html">PolarErrors</a></code> for possible errors invoked</li>
</ul></p>
                      </div>
                    </section>
                  </div>
                </li>
                <li class="item">
                  <div>
                    <code>
                    <a name="/s:11PolarBleSdk0aB3ApiP14doFactoryReset_26preservePairingInformation7RxSwift17PrimitiveSequenceVyAF16CompletableTraitOs5NeverOGSS_SbtF"></a>
                    <a name="//apple_ref/swift/Method/doFactoryReset(_:preservePairingInformation:)" class="dashAnchor"></a>
                    <a class="token" href="#/s:11PolarBleSdk0aB3ApiP14doFactoryReset_26preservePairingInformation7RxSwift17PrimitiveSequenceVyAF16CompletableTraitOs5NeverOGSS_SbtF">doFactoryReset(_:<wbr>preservePairingInformation:<wbr>)</a>
                    </code>
                  </div>
                  <div class="height-container">
                    <div class="pointer-container"></div>
                    <section class="section">
                      <div class="pointer"></div>
                      <div class="abstract">
                        <p>Perform factory reset to given device.</p>

                      </div>
                      <div class="declaration">
                        <h4>Declaration</h4>
                        <div class="language">
                          <p class="aside-title">Swift</p>
                          <pre class="highlight swift"><code><span class="kd">func</span> <span class="nf">doFactoryReset</span><span class="p">(</span><span class="n">_</span> <span class="nv">identifier</span><span class="p">:</span> <span class="kt">String</span><span class="p">,</span> <span class="nv">preservePairingInformation</span><span class="p">:</span> <span class="kt">Bool</span><span class="p">)</span> <span class="o">-&gt;</span> <span class="kt">Completable</span></code></pre>

                        </div>
                      </div>
                      <div>
                        <h4>Parameters</h4>
                        <table class="graybox">
                          <tbody>
                            <tr>
                              <td>
                                <code>
                                <em>identifier</em>
                                </code>
                              </td>
                              <td>
                                <div>
                                  <p>polar device id or UUID</p>
                                </div>
                              </td>
                            </tr>
                            <tr>
                              <td>
                                <code>
                                <em>preservePairingInformation</em>
                                </code>
                              </td>
                              <td>
                                <div>
                                  <p>preserve pairing information during factory reset</p>
                                </div>
                              </td>
                            </tr>
                          </tbody>
                        </table>
                      </div>
                      <div>
                        <h4>Return Value</h4>
                        <p>Completable stream

<ul>
<li>success: when factory reset notification sent to device</li>
<li>onError: see <code><a href="../Enums/PolarErrors.html">PolarErrors</a></code> for possible errors invoked</li>
</ul></p>
                      </div>
                    </section>
                  </div>
                </li>
                <li class="item">
                  <div>
                    <code>
                    <a name="/s:11PolarBleSdk0aB3ApiP9doRestart_26preservePairingInformation7RxSwift17PrimitiveSequenceVyAF16CompletableTraitOs5NeverOGSS_SbtF"></a>
                    <a name="//apple_ref/swift/Method/doRestart(_:preservePairingInformation:)" class="dashAnchor"></a>
                    <a class="token" href="#/s:11PolarBleSdk0aB3ApiP9doRestart_26preservePairingInformation7RxSwift17PrimitiveSequenceVyAF16CompletableTraitOs5NeverOGSS_SbtF">doRestart(_:<wbr>preservePairingInformation:<wbr>)</a>
                    </code>
                  </div>
                  <div class="height-container">
                    <div class="pointer-container"></div>
                    <section class="section">
                      <div class="pointer"></div>
                      <div class="abstract">
                        <p>Perform restart to given device.</p>

                      </div>
                      <div class="declaration">
                        <h4>Declaration</h4>
                        <div class="language">
                          <p class="aside-title">Swift</p>
                          <pre class="highlight swift"><code><span class="kd">func</span> <span class="nf">doRestart</span><span class="p">(</span><span class="n">_</span> <span class="nv">identifier</span><span class="p">:</span> <span class="kt">String</span><span class="p">,</span> <span class="nv">preservePairingInformation</span><span class="p">:</span> <span class="kt">Bool</span><span class="p">)</span> <span class="o">-&gt;</span> <span class="kt">Completable</span></code></pre>

                        </div>
                      </div>
                      <div>
                        <h4>Parameters</h4>
                        <table class="graybox">
                          <tbody>
                            <tr>
                              <td>
                                <code>
                                <em>identifier</em>
                                </code>
                              </td>
                              <td>
                                <div>
                                  <p>polar device id or UUID</p>
                                </div>
                              </td>
                            </tr>
                            <tr>
                              <td>
                                <code>
                                <em>preservePairingInformation</em>
                                </code>
                              </td>
                              <td>
                                <div>
                                  <p>preserve pairing information during restart</p>
                                </div>
                              </td>
                            </tr>
                          </tbody>
                        </table>
                      </div>
                      <div>
                        <h4>Return Value</h4>
                        <p>Completable stream

<ul>
<li>success: when restart notification sent to device</li>
<li>onError: see <code><a href="../Enums/PolarErrors.html">PolarErrors</a></code> for possible errors invoked</li>
</ul></p>
                      </div>
                    </section>
                  </div>
                </li>
                <li class="item">
                  <div>
                    <code>
                    <a name="/s:11PolarBleSdk0aB3ApiP14doFirstTimeUse_9ftuConfig7RxSwift17PrimitiveSequenceVyAF16CompletableTraitOs5NeverOGSS_AA0afghJ0VtF"></a>
                    <a name="//apple_ref/swift/Method/doFirstTimeUse(_:ftuConfig:)" class="dashAnchor"></a>
                    <a class="token" href="#/s:11PolarBleSdk0aB3ApiP14doFirstTimeUse_9ftuConfig7RxSwift17PrimitiveSequenceVyAF16CompletableTraitOs5NeverOGSS_AA0afghJ0VtF">doFirstTimeUse(_:<wbr>ftuConfig:<wbr>)</a>
                    </code>
                  </div>
                  <div class="height-container">
                    <div class="pointer-container"></div>
                    <section class="section">
                      <div class="pointer"></div>
                      <div class="abstract">
                        <p>Set [FtuConfig] for device</p>

                      </div>
                      <div class="declaration">
                        <h4>Declaration</h4>
                        <div class="language">
                          <p class="aside-title">Swift</p>
                          <pre class="highlight swift"><code><span class="kd">func</span> <span class="nf">doFirstTimeUse</span><span class="p">(</span><span class="n">_</span> <span class="nv">identifier</span><span class="p">:</span> <span class="kt">String</span><span class="p">,</span> <span class="nv">ftuConfig</span><span class="p">:</span> <span class="kt"><a href="../Structs/PolarFirstTimeUseConfig.html">PolarFirstTimeUseConfig</a></span><span class="p">)</span> <span class="o">-&gt;</span> <span class="kt">Completable</span></code></pre>

                        </div>
                      </div>
                      <div>
                        <h4>Parameters</h4>
                        <table class="graybox">
                          <tbody>
                            <tr>
                              <td>
                                <code>
                                <em>identifier</em>
                                </code>
                              </td>
                              <td>
                                <div>
                                  <p>polar device id or UUID</p>
                                </div>
                              </td>
                            </tr>
                            <tr>
                              <td>
                                <code>
                                <em>ftuConfig</em>
                                </code>
                              </td>
                              <td>
                                <div>
                                  <p>Configuration data for the first-time use, encapsulated in [PolarFirstTimeUseConfig].</p>
                                </div>
                              </td>
                            </tr>
                          </tbody>
                        </table>
                      </div>
                      <div>
                        <h4>Return Value</h4>
                        <p>Completable stream

<ul>
<li>success: when enable or disable sent to device</li>
<li>onError: see <code><a href="../Enums/PolarErrors.html">PolarErrors</a></code> for possible errors invoked</li>
<li>[PolarFirstTimeUseConfig] class enforces specific ranges and valid values for each parameter:</li>
<li>Gender: &ldquo;Male&rdquo; or &ldquo;Female&rdquo;</li>
<li>Height: 90 to 240 cm</li>
<li>Weight: 15 to 300 kg</li>
<li>Max heart rate: 100 to 240 bpm</li>
<li>Resting heart rate: 20 to 120 bpm</li>
<li>VO2 max: 10 to 95</li>
<li>Training background: One of the predefined levels (10, 20, 30, 40, 50, 60)</li>
</ul></p>
                      </div>
                    </section>
                  </div>
                </li>
                <li class="item">
                  <div>
                    <code>
                    <a name="/s:11PolarBleSdk0aB3ApiP17setWarehouseSleep_06enablefG07RxSwift17PrimitiveSequenceVyAF16CompletableTraitOs5NeverOGSS_SbSgtF"></a>
                    <a name="//apple_ref/swift/Method/setWarehouseSleep(_:enableWarehouseSleep:)" class="dashAnchor"></a>
                    <a class="token" href="#/s:11PolarBleSdk0aB3ApiP17setWarehouseSleep_06enablefG07RxSwift17PrimitiveSequenceVyAF16CompletableTraitOs5NeverOGSS_SbSgtF">setWarehouseSleep(_:<wbr>enableWarehouseSleep:<wbr>)</a>
                    </code>
                  </div>
                  <div class="height-container">
                    <div class="pointer-container"></div>
                    <section class="section">
                      <div class="pointer"></div>
                      <div class="abstract">
                        <p>Set warehouse sleep to a device. Factory reset will be performed in order to enable the setting.</p>

                      </div>
                      <div class="declaration">
                        <h4>Declaration</h4>
                        <div class="language">
                          <p class="aside-title">Swift</p>
                          <pre class="highlight swift"><code><span class="kd">func</span> <span class="nf">setWarehouseSleep</span><span class="p">(</span><span class="n">_</span> <span class="nv">identifier</span><span class="p">:</span> <span class="kt">String</span><span class="p">,</span> <span class="nv">enableWarehouseSleep</span><span class="p">:</span> <span class="kt">Bool</span><span class="p">?)</span> <span class="o">-&gt;</span> <span class="kt">Completable</span></code></pre>

                        </div>
                      </div>
                      <div>
                        <h4>Parameters</h4>
                        <table class="graybox">
                          <tbody>
                            <tr>
                              <td>
                                <code>
                                <em>identifier</em>
                                </code>
                              </td>
                              <td>
                                <div>
                                  <p>polar device id or UUID</p>
                                </div>
                              </td>
                            </tr>
                            <tr>
                              <td>
                                <code>
                                <em>enableWarehouseSleep</em>
                                </code>
                              </td>
                              <td>
                                <div>
                                  <p>Bool value for the warehouse sleep setting</p>
                                </div>
                              </td>
                            </tr>
                          </tbody>
                        </table>
                      </div>
                      <div>
                        <h4>Return Value</h4>
                        <p>Completable stream

<ul>
<li>success: when warehouse sleep has been set together with  factory reset</li>
<li>onError: see <code><a href="../Enums/PolarErrors.html">PolarErrors</a></code> for possible errors invoked</li>
</ul></p>
                      </div>
                    </section>
                  </div>
                </li>
                <li class="item">
                  <div>
                    <code>
                    <a name="/s:11PolarBleSdk0aB3ApiP8observerAA0abD8Observer_pSgvp"></a>
                    <a name="//apple_ref/swift/Property/observer" class="dashAnchor"></a>
                    <a class="token" href="#/s:11PolarBleSdk0aB3ApiP8observerAA0abD8Observer_pSgvp">observer</a>
                    </code>
                  </div>
                  <div class="height-container">
                    <div class="pointer-container"></div>
                    <section class="section">
                      <div class="pointer"></div>
                      <div class="abstract">
                        <p>Common GAP (Generic access profile) observer</p>

                      </div>
                      <div class="declaration">
                        <h4>Declaration</h4>
                        <div class="language">
                          <p class="aside-title">Swift</p>
                          <pre class="highlight swift"><code><span class="k">var</span> <span class="nv">observer</span><span class="p">:</span> <span class="kt"><a href="../Protocols/PolarBleApiObserver.html">PolarBleApiObserver</a></span><span class="p">?</span> <span class="p">{</span> <span class="k">get</span> <span class="k">set</span> <span class="p">}</span></code></pre>

                        </div>
                      </div>
                    </section>
                  </div>
                </li>
                <li class="item">
                  <div>
                    <code>
                    <a name="/s:11PolarBleSdk0aB3ApiP18deviceInfoObserverAA0abd6DevicefG0_pSgvp"></a>
                    <a name="//apple_ref/swift/Property/deviceInfoObserver" class="dashAnchor"></a>
                    <a class="token" href="#/s:11PolarBleSdk0aB3ApiP18deviceInfoObserverAA0abd6DevicefG0_pSgvp">deviceInfoObserver</a>
                    </code>
                  </div>
                  <div class="height-container">
                    <div class="pointer-container"></div>
                    <section class="section">
                      <div class="pointer"></div>
                      <div class="abstract">
                        <p>Device info observer for DIS (Device information service) and BAS (Battery service) GATT (Generic attributes) client</p>

                      </div>
                      <div class="declaration">
                        <h4>Declaration</h4>
                        <div class="language">
                          <p class="aside-title">Swift</p>
                          <pre class="highlight swift"><code><span class="k">var</span> <span class="nv">deviceInfoObserver</span><span class="p">:</span> <span class="kt"><a href="../Protocols/PolarBleApiDeviceInfoObserver.html">PolarBleApiDeviceInfoObserver</a></span><span class="p">?</span> <span class="p">{</span> <span class="k">get</span> <span class="k">set</span> <span class="p">}</span></code></pre>

                        </div>
                      </div>
                    </section>
                  </div>
                </li>
                <li class="item">
                  <div>
                    <code>
                    <a name="/s:11PolarBleSdk0aB3ApiP16deviceHrObserverAA0abd6DevicefG0_pSgvp"></a>
                    <a name="//apple_ref/swift/Property/deviceHrObserver" class="dashAnchor"></a>
                    <a class="token" href="#/s:11PolarBleSdk0aB3ApiP16deviceHrObserverAA0abd6DevicefG0_pSgvp">deviceHrObserver</a>
                    </code>
                  </div>
                  <div class="height-container">
                    <div class="pointer-container"></div>
                    <section class="section">
                      <div class="pointer"></div>
                      <div class="abstract">
                        <p>Device observer for HR GATT client</p>

                      </div>
                      <div class="declaration">
                        <h4>Declaration</h4>
                        <div class="language">
                          <p class="aside-title">Swift</p>
                          <pre class="highlight swift"><code><span class="kd">@available</span><span class="p">(</span><span class="o">*</span><span class="p">,</span> <span class="n">deprecated</span><span class="p">,</span> <span class="nv">message</span><span class="p">:</span> <span class="s">"The functionality has changed. Please use the startHrStreaming API to get the heart rate data "</span><span class="p">)</span>
<span class="k">var</span> <span class="nv">deviceHrObserver</span><span class="p">:</span> <span class="kt"><a href="../Protocols/PolarBleApiDeviceHrObserver.html">PolarBleApiDeviceHrObserver</a></span><span class="p">?</span> <span class="p">{</span> <span class="k">get</span> <span class="k">set</span> <span class="p">}</span></code></pre>

                        </div>
                      </div>
                    </section>
                  </div>
                </li>
                <li class="item">
                  <div>
                    <code>
                    <a name="/s:11PolarBleSdk0aB3ApiP18powerStateObserverAA0abd5PowerfG0_pSgvp"></a>
                    <a name="//apple_ref/swift/Property/powerStateObserver" class="dashAnchor"></a>
                    <a class="token" href="#/s:11PolarBleSdk0aB3ApiP18powerStateObserverAA0abd5PowerfG0_pSgvp">powerStateObserver</a>
                    </code>
                  </div>
                  <div class="height-container">
                    <div class="pointer-container"></div>
                    <section class="section">
                      <div class="pointer"></div>
                      <div class="abstract">
                        <p>Bluetooth power state observer</p>

                      </div>
                      <div class="declaration">
                        <h4>Declaration</h4>
                        <div class="language">
                          <p class="aside-title">Swift</p>
                          <pre class="highlight swift"><code><span class="k">var</span> <span class="nv">powerStateObserver</span><span class="p">:</span> <span class="kt"><a href="../Protocols/PolarBleApiPowerStateObserver.html">PolarBleApiPowerStateObserver</a></span><span class="p">?</span> <span class="p">{</span> <span class="k">get</span> <span class="k">set</span> <span class="p">}</span></code></pre>

                        </div>
                      </div>
                    </section>
                  </div>
                </li>
                <li class="item">
                  <div>
                    <code>
                    <a name="/s:11PolarBleSdk0aB3ApiP22deviceFeaturesObserverAA0abd6DevicefG0_pSgvp"></a>
                    <a name="//apple_ref/swift/Property/deviceFeaturesObserver" class="dashAnchor"></a>
                    <a class="token" href="#/s:11PolarBleSdk0aB3ApiP22deviceFeaturesObserverAA0abd6DevicefG0_pSgvp">deviceFeaturesObserver</a>
                    </code>
                  </div>
                  <div class="height-container">
                    <div class="pointer-container"></div>
                    <section class="section">
                      <div class="pointer"></div>
                      <div class="abstract">
                        <p>Device features ready observer</p>

                      </div>
                      <div class="declaration">
                        <h4>Declaration</h4>
                        <div class="language">
                          <p class="aside-title">Swift</p>
                          <pre class="highlight swift"><code><span class="k">var</span> <span class="nv">deviceFeaturesObserver</span><span class="p">:</span> <span class="kt"><a href="../Protocols/PolarBleApiDeviceFeaturesObserver.html">PolarBleApiDeviceFeaturesObserver</a></span><span class="p">?</span> <span class="p">{</span> <span class="k">get</span> <span class="k">set</span> <span class="p">}</span></code></pre>

                        </div>
                      </div>
                    </section>
                  </div>
                </li>
                <li class="item">
                  <div>
                    <code>
                    <a name="/s:11PolarBleSdk0aB3ApiP22sdkModeFeatureObserverAA0abdcfgH0_pSgvp"></a>
                    <a name="//apple_ref/swift/Property/sdkModeFeatureObserver" class="dashAnchor"></a>
                    <a class="token" href="#/s:11PolarBleSdk0aB3ApiP22sdkModeFeatureObserverAA0abdcfgH0_pSgvp">sdkModeFeatureObserver</a>
                    </code>
                  </div>
                  <div class="height-container">
                    <div class="pointer-container"></div>
                    <section class="section">
                      <div class="pointer"></div>
                      <div class="abstract">
                        <p>SDK mode feature available in the device and ready observer</p>

                      </div>
                      <div class="declaration">
                        <h4>Declaration</h4>
                        <div class="language">
                          <p class="aside-title">Swift</p>
                          <pre class="highlight swift"><code><span class="kd">@available</span><span class="p">(</span><span class="o">*</span><span class="p">,</span> <span class="n">deprecated</span><span class="p">,</span> <span class="nv">message</span><span class="p">:</span> <span class="s">"The functionality has changed. Please use the bleSdkFeatureReady to know if sdkModeFeature is available"</span><span class="p">)</span>
<span class="k">var</span> <span class="nv">sdkModeFeatureObserver</span><span class="p">:</span> <span class="kt"><a href="../Protocols/PolarBleApiSdkModeFeatureObserver.html">PolarBleApiSdkModeFeatureObserver</a></span><span class="p">?</span> <span class="p">{</span> <span class="k">get</span> <span class="k">set</span> <span class="p">}</span></code></pre>

                        </div>
                      </div>
                    </section>
                  </div>
                </li>
                <li class="item">
                  <div>
                    <code>
                    <a name="/s:11PolarBleSdk0aB3ApiP02isB7PoweredSbvp"></a>
                    <a name="//apple_ref/swift/Property/isBlePowered" class="dashAnchor"></a>
                    <a class="token" href="#/s:11PolarBleSdk0aB3ApiP02isB7PoweredSbvp">isBlePowered</a>
                    </code>
                  </div>
                  <div class="height-container">
                    <div class="pointer-container"></div>
                    <section class="section">
                      <div class="pointer"></div>
                      <div class="abstract">
                        <p>Helper to check if Ble is currently powered</p>

                      </div>
                      <div class="declaration">
                        <h4>Declaration</h4>
                        <div class="language">
                          <p class="aside-title">Swift</p>
                          <pre class="highlight swift"><code><span class="k">var</span> <span class="nv">isBlePowered</span><span class="p">:</span> <span class="kt">Bool</span> <span class="p">{</span> <span class="k">get</span> <span class="p">}</span></code></pre>

                        </div>
                      </div>
                      <div>
                        <h4>Return Value</h4>
                        <p>current power state</p>
                      </div>
                    </section>
                  </div>
                </li>
                <li class="item">
                  <div>
                    <code>
                    <a name="/s:11PolarBleSdk0aB3ApiP6loggerAA0abD6Logger_pSgvp"></a>
                    <a name="//apple_ref/swift/Property/logger" class="dashAnchor"></a>
                    <a class="token" href="#/s:11PolarBleSdk0aB3ApiP6loggerAA0abD6Logger_pSgvp">logger</a>
                    </code>
                  </div>
                  <div class="height-container">
                    <div class="pointer-container"></div>
                    <section class="section">
                      <div class="pointer"></div>
                      <div class="abstract">
                        <p>optional logger set to get traces from sdk</p>

                      </div>
                      <div class="declaration">
                        <h4>Declaration</h4>
                        <div class="language">
                          <p class="aside-title">Swift</p>
                          <pre class="highlight swift"><code><span class="k">var</span> <span class="nv">logger</span><span class="p">:</span> <span class="kt"><a href="../Protocols/PolarBleApiLogger.html">PolarBleApiLogger</a></span><span class="p">?</span> <span class="p">{</span> <span class="k">get</span> <span class="k">set</span> <span class="p">}</span></code></pre>

                        </div>
                      </div>
                    </section>
                  </div>
                </li>
                <li class="item">
                  <div>
                    <code>
                    <a name="/s:11PolarBleSdk0aB3ApiP21automaticReconnectionSbvp"></a>
                    <a name="//apple_ref/swift/Property/automaticReconnection" class="dashAnchor"></a>
                    <a class="token" href="#/s:11PolarBleSdk0aB3ApiP21automaticReconnectionSbvp">automaticReconnection</a>
                    </code>
                  </div>
                  <div class="height-container">
                    <div class="pointer-container"></div>
                    <section class="section">
                      <div class="pointer"></div>
                      <div class="abstract">
                        <p>optional disable or enable automatic reconnection, by default it is enabled</p>

                      </div>
                      <div class="declaration">
                        <h4>Declaration</h4>
                        <div class="language">
                          <p class="aside-title">Swift</p>
                          <pre class="highlight swift"><code><span class="k">var</span> <span class="nv">automaticReconnection</span><span class="p">:</span> <span class="kt">Bool</span> <span class="p">{</span> <span class="k">get</span> <span class="k">set</span> <span class="p">}</span></code></pre>

                        </div>
                      </div>
                    </section>
                  </div>
                </li>
              </ul>
            </div>
          </section>
        </section>
        <section id="footer">
          <p>&copy; 2024 <a class="link" href="" target="_blank" rel="external noopener"></a>. All rights reserved. (Last updated: 2024-06-20)</p>
          <p>Generated by <a class="link" href="https://github.com/realm/jazzy" target="_blank" rel="external noopener">jazzy ♪♫ v0.15.0</a>, a <a class="link" href="https://realm.io" target="_blank" rel="external noopener">Realm</a> project.</p>
        </section>
      </article>
    </div>
  </body>
</html>
